#pragma once

#include <stdint.h>

enum
{
  TEAM_ROOM = 0,
  DAMAGE,
  PLAYER_ID_1,
  PLAYER_ID_2,
  PLAYER_ID_3,
  BULLET_DATA_LEN,
};

typedef struct fix_bullet_s
{
  uint8_t team : 2;
  uint8_t damage : 6;
} fix_bullet_s;

typedef union fix_bullet_u
{
  fix_bullet_s data;
  uint8_t array[1];
} fix_bullet_t;